#!/usr/bin/python
# -*- coding: UTF-8 -*-
def main():
	strv=""
	for a in range(0,21):
		if (a+1) % 2==0:
			strv=strv+"\n"
		for b in range(0,21):
			if a==0 or a==10 or a==20:
				if b==0 or b==10 or b==20:
					strv=strv+"+"
					if b==20:
						strv=strv+"\n"
				if (b+1) % 2==0:
					strv=strv+" "
				if b % 2==0 and b!=0 and b!=10 and b!=20:
					strv=strv+"-"
			if a %2 ==0 and a!=0 and a!=10 and a!=20:
				if b==0 or b==10 or b==20:
					strv=strv+"|"
					if b==20:
						strv=strv+"\n"
				else:
					strv=strv+" "
	print(strv)	
if __name__ == '__main__':
	main()